package com.bys.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = false)
@Data
public class BysOaSystemException extends RuntimeException {
    private Integer code;
    public BysOaSystemException() {
    }
    public BysOaSystemException(Integer code,String message) {
        super(message);
        this.code = code;
    }

    public BysOaSystemException(String message) {
        super(message);
    }
}
